﻿<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<title>学生后勤报修系统</title>
	<!-- Fav  Icon Link -->
	<link rel="shortcut icon" type="image/png" th:href="@{/images/fav.png}">
	<!-- Bootstrap core CSS -->
	<link rel="stylesheet" th:href="@{/css/bootstrap.min.css}">
	<!-- themify icons CSS -->
	<link rel="stylesheet" th:href="@{/css/themify-icons.css}">
	<!-- Animations CSS -->
	<link rel="stylesheet" th:href="@{/css/animate.css}">
	<!-- Main CSS -->
	<link rel="stylesheet" th:href="@{/css/styles.css}">
	<link rel="stylesheet" th:href="@{/css/red.css}" id="style_theme">
	<link rel="stylesheet" th:href="@{/css/responsive.css}">
	<!-- morris charts -->
	<link rel="stylesheet" th:href="@{/charts/css/morris.css}">
	<!-- jvectormap -->
	<link rel="stylesheet" th:href="@{/css/jquery-jvectormap.css}">

	<script th:src="@{/js/modernizr.min.js}"></script>
</head>

<body>
<!-- Pre Loader -->
<div class="loading" style="display: none;">
	<div class="spinner">
		<div class="double-bounce1"></div>
		<div class="double-bounce2"></div>
	</div>
</div>
<!--/Pre Loader -->
<!-- Color Changer -->
<div class="theme-settings" id="switcher">
		<span class="theme-click">
			<span class="ti-settings"></span>
		</span>
	<span class="theme-color theme-default theme-active" data-color="red"></span>
	<span class="theme-color theme-blue" data-color="blue"></span>
	<span class="theme-color theme-red" data-color="red"></span>
	<span class="theme-color theme-violet" data-color="violet"></span>
	<span class="theme-color theme-yellow" data-color="yellow"></span>
</div>
<!-- /Color Changer -->
<div class="wrapper">
	<!-- Page Content -->
	<div id="content">
		<!-- Top Navigation -->
		<div class="container top-brand">
			<nav class="navbar navbar-default">
				<div class="navbar-header">
					<div class="sidebar-header"> <a href="/index.html"><img src="/images/logo-dark.png" class="logo" alt="logo"></a>
					</div>
				</div>
				<ul class="nav justify-content-end">



					<li class="nav-item">
						<a class="nav-link dropdown-toggle" data-toggle="dropdown" href="/#" role="button" aria-haspopup="true" aria-expanded="false">
							<span class="ti-user"></span>
						</a>
						<div class="dropdown-menu lochana-box-shadow2 profile animated flipInY">
							<h5>John Willing</h5>


							<a class="dropdown-item" href="/#">
								<span class="ti-power-off"></span> 退出登录</a>
						</div>
					</li>
				</ul>

			</nav>
		</div>
		<!-- /Top Navigation -->
		<!-- Menu -->
		<div th:replace="common::#app-Menu-Baoxiu"></div>
		<!-- /Menu -->
		<!-- Breadcrumb -->
		<!-- Page Title -->

		<!-- /Page Title -->
		<!-- /Breadcrumb -->
		<!-- Main Content -->
		<div class="wrapper">
			<!-- Page Content -->

			<div class="container">
				<div class="row">
					<div class="col-sm-6 auth-box">
						<div class="lochana-box-shadow">
							<!-- Page Title -->
							<h3 class="widget-title">修改密码</h3>
							<!-- /Page Title -->

							<!-- Form -->
							<form class="widget-form" th:action="@{/app/updatepwd}">

								<div class="form-group row">
									<div class="col-sm-12">
										<input type="password" name="password" class="form-control" data-validation="strength" data-validation-strength="2" data-validation-has-keyup-event="true" placeholder="原密码">
									</div>
								</div>
								<div class="form-group row">
									<div class="col-sm-12">
										<input type="password" name="pass_confirmation" class="form-control" data-validation="strength" data-validation-strength="2" data-validation-has-keyup-event="true" placeholder="新密码">
									</div>
								</div>
								<div class="form-group row">
									<div class="col-sm-12">
										<input type="password" name="newPassword" class="form-control" data-validation="strength" data-validation-strength="2" data-validation-has-keyup-event="true" placeholder="再输一遍 新密码">
									</div>
								</div>
								<div class="form-check row">

								</div>
								<!-- Button -->
								<div class="button-btn-block">
									<p style="color: red" th:text="${msg}" th:if="${not #strings.isEmpty(msg)}"> </p>
									<button type="submit" class="btn btn-primary btn-lg btn-block">更新密码</button>
								</div>
								<!-- /Button -->
								<!-- Linsk -->
								<div class="auth-footer-text">
									<small>密码已更新,点击这里
										<a th:href="@{/user/login}">登录</a></small>
								</div>
								<!-- /Links -->
							</form>
							<!-- /Form -->
						</div>
					</div>
				</div>
			</div>

			<!-- /Page Content -->
		</div>
		<!-- /Main Content -->
		<!--Copy Rights-->
		<div class="container">
			<div class="d-sm-flex justify-content-center">
				<span class="text-muted text-center d-block d-sm-inline-block">Copyright © 2021 <a href="/#" target="_blank">konnectcode</a>. All rights reserved.</span>
			</div>
		</div>
		<!-- /Copy Rights-->
	</div>
	<!-- /Page Content -->
</div>
<!-- Back to Top -->
<a id="back-to-top" href="/#" class="back-to-top" style="display: inline;">
	<span class="ti-angle-up"></span>
</a>
<!-- /Back to Top -->
<!-- Jquery Library-->
<script src="/js/jquery-3.2.1.min.js"></script>
<!-- Popper Library-->
<script src="/js/popper.min.js"></script>
<!-- Bootstrap Library-->
<script src="/js/bootstrap.min.js"></script>
<!-- morris charts -->
<script src="/charts/js/raphael-min.js"></script>
<script src="/charts/js/morris.min.js"></script>
<script src="/js/custom-morris.js"></script>

<!-- Custom Script-->
<script src="/js/custom.js"></script>


</body>

</html>